import {
  create,
  NButton,
  NSpace,
  NLayout,
  NLayoutHeader,
  NLayoutContent,
  NLayoutSider,
  NMenu,
  NDropdown,
  NDataTable,
  NForm,
  NInput,
  NFormItem,
  NCheckbox,
  NGrid,
  NGi,
  NSwitch,
  NSpin,
  NTable,
  NCard,
  NSkeleton,
  NModal,
  NTabs,
  NTab,
  NTimeline,
  NTimelineItem,
  NFormItemGridItem,
  NRadio,
  NRadioGroup,
  NUpload,
  NSelect,
} from "naive-ui";
export default function (app: any) {
  const naive = create({
    components: [
      NButton,
      NSpace,
      NLayout,
      NLayoutHeader,
      NLayoutContent,
      NLayoutSider,
      NMenu,
      NDropdown,
      NForm,
      NInput,
      NFormItem,
      NCheckbox,
      NGrid,
      NGi,
      NSwitch,
      NDataTable,
      NSpin,
      NTable,
      NCard,
      NSkeleton,
      NModal,
      NTabs,
      NTab,
      NTimeline,
      NTimelineItem,
      NFormItemGridItem,
      NRadio,
      NRadioGroup,
      NUpload,
      NSelect,
    ],
  });
  app.use(naive);
}
